package com.dt76.smallloanbackenduser.hystrix.etao;

import com.dt76.smallloanbackenduser.pojo.etao.CurrentUser;
import com.dt76.smallloanbackenduser.pojo.etao.Department;
import com.dt76.smallloanbackenduser.pojo.etao.Employee;
import com.dt76.smallloanbackenduser.remote.etao.PrivilegeManagement;
import com.dt76.smallloanbackenduser.utils.Page;
import com.dt76.smallloanbackenduser.utils.Result;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class DeptHystrix implements PrivilegeManagement {
    @Override
    public Page getAllDept(Integer pageNum) {
        return null;
    }

    @Override
    public List<Department> getDept() {
        return new ArrayList<>();
    }

    @Override
    public Result delDeptById(Integer did, CurrentUser currentUser) {
        return null;
    }

    @Override
    public Department getDeptById(Integer did) {
        return null;
    }

    @Override
    public Result updDeptEnable(Integer did, Integer enable) {
        return null;
    }

    @Override
    public Result addDept(Department department,Integer currentId) {
        return null;
    }

    @Override
    public Result updDept(Department department,Integer currentId) {
        return null;
    }
}
